package com.lry.basic.spring.aop.face;

import com.lry.basic.spring.ioc.BeanFactory;

import java.util.List;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/8
 */
public interface AopProxyFactory{
    AopProxy createAopProxy(Object bean, String beanName, List<Advisor> matchAdvisors, BeanFactory beanFactory);

    static AopProxyFactory getDefaultAopProxyFactory(){
        return  new DefaultAopProxyFactory();
    }
}
